//---------------------------------------------------------------------------

#ifndef PR_MERH
#define PR_MERH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxButtons.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "Shablon.h"
#include <ActnList.hpp>
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Menus.hpp>
#include "DBCtrlsEh.hpp"
#include "DBGridEh.hpp"
#include "DBLookupEh.hpp"
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrPR_MER : public TfrShablon
{
__published:	// IDE-managed Components
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TLabel *Label5;
	TLabel *Label6;
	TLabel *Label7;
	TLabel *Label8;
	TDBEdit *dbeNOM;
	TDBDateTimeEditEh *dtpDAT_VZ;
	TDBEdit *dbeNOM_UVEDOML;
	TDBEdit *dbeSUM_PENI;
	TDBEdit *dbeSUM_PO_SUD;
	TDBDateTimeEditEh *dtpDAT_SUD;
	TDBLookupComboBox *cbNAIM_VOZD;
	TDBLookupComboBox *cbVID_VOZD;
	TIBCQuery *dsetPR_MER;
	TIBCDataSource *dsPR_MER;
	TAction *actESC;
	void __fastcall FormShow(TObject *Sender);
	void __fastcall dtpDAT_VZKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall cbNAIM_VOZDClick(TObject *Sender);
	void __fastcall cbVID_VOZDClick(TObject *Sender);
	void __fastcall dbeNOM_UVEDOMLKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbeSUM_PENIKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbeSUM_PO_SUDKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dtpDAT_SUDKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall AddExecute(TObject *Sender);
	void __fastcall SaveExecute(TObject *Sender);
	void __fastcall EditExecute(TObject *Sender);
	void __fastcall DeleteExecute(TObject *Sender);
	void __fastcall actESCExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
int NOM;
	__fastcall TfrPR_MER(TComponent* Owner);
	void __fastcall TfrPR_MER::Obnovi();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrPR_MER *frPR_MER;
//---------------------------------------------------------------------------
#endif
